package com.japher.hackson.response;


/**
 * 检测新版本返回
 * @author liujing12
 *
 */
public class VersionCheckResponse extends BaseResponse {
    
    public static class VersionCheck {
        /**
         * 是否需要更新，1需要更新
         */
       private int update; 
       
       /**
        * 更新版本信息
        */
       private String detail;
       
       /**
        * 是否需要强制更新，1需要强制更新
        */
       private String forceUpdate;
       
       /**
        * 新版本下载地址
        */
       private String url;
       
       /**
        * 新版本号
        */
       private String version;
       
       /**
         * getter method for property update
         * @return the update
         */
        public int getUpdate() {
            return update;
        }

        /**
         * setter method for property update
         * @param update the update to set
         */
        public void setUpdate(int update) {
            this.update = update;
        }

        /**
         * getter method for property detail
         * @return the detail
         */
        public String getDetail() {
            return detail;
        }

        /**
         * setter method for property detail
         * @param detail the detail to set
         */
        public void setDetail(String detail) {
            this.detail = detail;
        }

        /**
         * getter method for property forceUpdate
         * @return the forceUpdate
         */
        public String getForceUpdate() {
            return forceUpdate;
        }

        /**
         * setter method for property forceUpdate
         * @param forceUpdate the forceUpdate to set
         */
        public void setForceUpdate(String forceUpdate) {
            this.forceUpdate = forceUpdate;
        }

        /**
         * getter method for property url
         * @return the url
         */
        public String getUrl() {
            return url;
        }

        /**
         * setter method for property url
         * @param url the url to set
         */
        public void setUrl(String url) {
            this.url = url;
        }

        /**
         * getter method for property version
         * @return the version
         */
        public String getVersion() {
            return version;
        }

        /**
         * setter method for property version
         * @param version the version to set
         */
        public void setVersion(String version) {
            this.version = version;
        }
    }
    /**
     * 封装data信息
     */
    private VersionCheck data;

    /**
     * getter method for property data
     * @return the data
     */
    public VersionCheck getData() {
        return data;
    }

    /**
     * setter method for property data
     * @param data the data to set
     */
    public void setData(VersionCheck data) {
        this.data = data;
    }
}
